<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>

<%--
    Document   : proyectos_corredor
    Created on : 21/06/2010, 10:33:06 PM
    Author     : Manuel
--%>

<%@page contentType="text/html" pageEncoding="windows-1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">



<table width="100" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="756" height="160">
                <param name="movie" value="swf/banner_int.swf" />
                <param name="quality" value="high" />
                <embed src="swf/banner_int.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="756" height="160"></embed>
            </object></td>
    </tr>
    <tr>
        <td><img src="images/linea.jpg" width="756" height="3" /></td>
    </tr>
    <tr>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td><table width="756" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td colspan="3" class="titulo_azul">Registrar Inmueble</td>
                </tr>
                <tr>
                    <td colspan="3" >&nbsp;</td>
                </tr>
                <tr>
                    <td colspan="3" ><img src="images/linea.jpg" width="756" height="3" /></td>
                </tr>
                <tr>
                    <td colspan="3" height="10"></td>
                </tr>
                <tr>
                  <!--<h1>Bienvenido ${corredor.clave}</h1>-->
                    <td colspan="3" height="10">Bienvenido  ${corredor.nombre}<span style="font-weight: bold"></span> </td>
                </tr>
                <tr>
                    <td colspan="3">
                    </td>
                </tr>

                <tr>
                    <td colspan="3">&nbsp;</td>
                </tr>
                <tr>
                    <td colspan="3"><table width="756" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                                <td width="484" valign="top"><table width="89%" border="0" cellspacing="0" cellpadding="0">
                                        <!--                                    <form action ="proyectos_corredor.jsp" method="post"> -->
                                        <form:form modelAttribute="inmueble" id="inmueble-form" >
                                            <form:hidden path="codigo"/>
                                            <tr>
                                                <td width="48%" height="23" align="left">Nombre</td>
                                                <td width="52%" align="left">
                                                    <form:input path="nombre" onblur="myBlur(this);" size="30" />
                                                    <form:errors path="nombre"/>
                                                    <!-- <td width="52%" align="left"><input name="nombre" type="text" class="combo_texto" id="nombre2" />                          -->
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="30" align="left">Direcci&oacute;n</td>
                                                <td align="left">
                                                    <form:input path="direccion" onblur="myBlur(this);" size="30" />
                                                    <form:errors path="direccion"/>
                                                </td>
                                            </tr>
                                            <div class="distrito">
                                                <td height="30" align="left">Distrito</td>
                                                <td align="left"><form:select path="distrito">
                                                        <form:options items="${distritos}" itemValue="codigo" itemLabel="nombre" ></form:options>
                                                    </form:select></td>
                                            </div>
                                            <tr>
                                                <td height="30" align="left">Precio</td>
                                                <td align="left">
                                                    <form:input path="precioVenta" onblur="myBlur(this);" size="30" />
                                                    <form:errors path="precioVenta"/>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="30" align="left">Tipo</td>
                                                <td align="left"><select name="tipo" class="combo_texto">
                                                        <option value ="C">Casa</option>
                                                        <option value ="D">Departamento</option>
                                                    </select></td>
                                            </tr>
                                            <tr>
                                                <td align="left">Descripci&oacute;n</td>
                                                <td align="left">
                                                    <form:input path="resenia" onblur="myBlur(this);" size="30" />
                                                    <form:errors path="resenia"/>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left">Comentario</td>
                                                <td align="left">
                                                    <form:input path="comentario" onblur="myBlur(this);" size="30" />
                                                    <form:errors path="comentario"/>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left">Corredor</td>
                                                <td align="left">
                                                    <form:input path="corredor" onblur="myBlur(this);" size="30" />
                                                    <form:errors path="corredor"/>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left">cliente</td>
                                                <td align="left">
                                                    <form:input path="cliente" onblur="myBlur(this);" size="30" />
                                                    <form:errors path="cliente"/>
                                                </td>
                                            </tr> 
                                            <tr>
                                                <td valign="top">&nbsp;</td>
                                                <td align="center">&nbsp;</td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" align="center" valign="top"><input name="Submit3" type="submit" class="texto_azul"  value=" Enviar" />
                                                    &nbsp;&nbsp;
                                                    <input name="Submit22" type="reset" class="texto_azul" value="Cancelar" />                          </td>
                                            </tr>
                                            </form:form>
                                        </table></td>
                                    <td width="272" colspan="2" valign="top"><p align="justify"><img src="images/ima_int_02.jpg" width="250" height="200" align="right" class="border" /></p></td>
                                </tr>
                            </table></td>
                    </tr>
                    <tr>
                        <td colspan="3">&nbsp;</td>
                    </tr>
                </table></td>
        </tr>
    </table>
